Version

CreateGenericStringExpression Method

Creates an System.Linq.Expressions.Expression that evaluates the inputted value on given criteria.
Syntax
'Declaration
 
Protected Friend Overridable Function CreateGenericStringExpression( _
   ByVal fieldName As String, _
   ByVal value As String, _
   ByVal methodName As String, _
   ByVal isFalse As Boolean, _
   ByVal caseSensitive As Boolean _
) As Expression(Of Func(Of TDataObject,Boolean))
protected internal virtual Expression<Func<TDataObject,bool>> CreateGenericStringExpression( 
   string fieldName,
   string value,
   string methodName,
   bool isFalse,
   bool caseSensitive
)

Parameters

fieldName
The property that will be evaluated on.
value
The value that will be analyzed against.
methodName
The method that will be used for the evaluation.
isFalse
Will "false" be considered as the correct value.
caseSensitive
The comparision should be case sensitive.

Return Value

An System.Linq.Expressions.Expression which will evaluate for the criteria.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also